package com.bx.implatform.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.bx.implatform.entity.secondary.SecondaryAdmin;
import com.bx.implatform.entity.secondary.SecondaryAdminRole;

public interface SecondaryAdminRoleService extends IService<SecondaryAdminRole> {

    /**
     * 根据用户id查询角色
     *
     * @param userId 账户
     * @return 用户角色
     */
    SecondaryAdminRole findRoleByUserId(Integer userId);

}
